import Vue from 'vue'
import App from './App'
import globalVariable from './utils/global_variable.js'
// import echarts from '@/components/echarts-uniapp/echarts-uniapp.vue'
import util from './utils/util.js';

Vue.prototype.GLOBALVARIABLE=globalVariable

//通用方法
Vue.prototype.$util = util;
// 插件
import globalMethod from './utils/global_method.js' // 引入
Vue.use(globalMethod) 

// import echartsLine from '@/components/echarts-uniapp/echarts-uniapp.vue'
// Vue.use('echarts-Line',echartsLine) 


//空页面
import compEmpty from '@/components/empty/index.vue'
Vue.component('comp-empty',compEmpty);
//我的list
import compMyList from '@/components/list/myList.vue'
Vue.component('comp-myList',compMyList);

//我的list
import compNav from '@/components/nav/nav.vue'
Vue.component('comp-nav',compNav);

//弹窗
import compPoup from './components/poup/poup.vue'
Vue.component('comp-poup',compPoup);

//list按钮图
import listBtn from './components/list/listBtn.vue'
Vue.component('comp-listBtn',listBtn);
//轮播图
import banner from './components/banner/banner.vue'
Vue.component('comp-banner',banner);
//底部导航
import bar from './components/bar/bar.vue'
Vue.component('comp-bar',bar);

import cuCustom from './colorui/components/cu-custom.vue'
Vue.component('cu-custom',cuCustom)

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
